package Day023_设计模式_动态代理.demo4_动态代理;

/**
 * @Author：pengzhilin
 * @Date: 2020/5/17 10:27
 */
public class JinLian implements Happy {

    public void happy(){

        System.out.println("金莲在happy...");

    }

    public void sleep(int time){// 单位分钟
        System.out.println("金莲在睡觉...time:"+time);
    }

}
